.detail{
  background-color: #fff;
  margin-top: -45%;
  border-top-left-radius: 0.03rem;
  border-top-right-radius: 0.03rem;
  padding: 0.15rem 0.15rem 0.8rem;
  position: relative;
  .detail-pic{
    height: 2.4rem;
    width: 100%;
    li{
      width: 100%;
      overflow: hidden;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
    }
  }
  .donated-data{
    text-align: center;
    margin-top: 0.15rem;
    padding-bottom: 0.15rem;
    border-bottom: 0.01rem dotted $color-border-gray;
    li:nth-child(2){
      color: $color-gray;
      font-size: $small-font;
    }
    a{
      color: $color-red;
    }
  }
  .intro{
    border-bottom: 0.01rem dotted $color-border-gray;
    padding: 0.15rem 0;
    margin-bottom: 0.2rem;
    position: relative;
    dl{
      min-height: 0.45rem;
    }
    dt{
      font-size: 0.16rem;
    }
    dd{
      color: $color-gray;
    }
    .captain{
      position: absolute;
      right: 0;
      top: 0.15rem;
      color: $color-global;
      i{
        margin-right: 0.05rem;
        vertical-align: -0.02rem;
        display: inline-block;
      }
    }
  }
  article{
    line-height: 1.8;
  }
  select{
    width: 100%;
    height: 0.3rem;
    border: 0.01rem solid $color-border-gray;
    border-radius: 0.03rem;
    background-color: #fff;
    margin-bottom: 0.2rem;
  }
  h2{
    font-weight: normal;
    font-size: $h2-font;
    margin: 0.2rem 0 0.1rem;
  }
  .amount{
    .ipt-box{
      display: block;
      position: relative;
      input{
        text-align: center;
        line-height: 0.4rem;
        border: none;
        border-bottom: 0.01rem solid $color-border-gray;
        width: 100%;
        font-size: 0.18rem;
        border-radius: 0;
      }
      i{
        position: absolute;
        background-color: #cfcfcf;
        height: 0.25rem;
        width: 0.25rem;
        color: #fff;
        font-size: 0.18rem;
        border-radius: 50%;
        top: 0.1rem;
        font-style: normal;
        text-align: center;
        line-height: 0.25rem;
      }
      i.icon-minus{
        left: 0;
      }
      i.icon-plus{
        right: 0;
        line-height: 0.22rem;
      }
    }
  }
  .btn-box{
    padding: 0.2rem 0;
    color: $color-gray;
    font-size: $small-font;
    text-align: center;
    a{
      display: block;
      background-color: $color-red;
      color: #fff;
      line-height: 0.4rem;
      margin-bottom: 0.1rem;
      border-radius: 0.03rem;
      font-size: 0.16rem;
    }
  }
  .ipt-username{
    border: 0.01rem solid $color-border-gray;
    border-radius: 0.03rem;
    width: 100%;
    line-height: 0.18rem;
    padding: 0.05rem;
    margin-bottom: 0.2rem;
  }
  textarea.ipt-username{
    line-height: 1.5;
    height: 0.6rem;
    resize: none;
  }
  .form-group{
    margin-top: 0.2rem;
    label{
      display: block;
      margin-bottom: 0.05rem;
    }
    .ipt-username{
      margin-bottom: 0;
    }
    &.error{
      color: $color-red;
      font-size: $small-font;
      margin-top: 0;
    }
  }
}
.donated-list{
  h2{
    border-bottom: 0.01rem dotted $color-border-gray;
    line-height: 1;
    padding-bottom: 0.15rem;
    text-align: center;
    font-size: 0.16rem;
    color: $color-red;
    margin: 0;
  }
  .people-list{
    padding: 0 0.1rem;
    li{
      border-bottom: 0.01rem solid $color-border-gray;
      position: relative;
      padding-bottom: 0.15rem;
      margin-bottom: 0.15rem;
      a{
        display: block;
      }
      .avatar{
        height: 0.5rem;
        width: 0.5rem;
        display: inline-block;
        border-radius: 50%;
        overflow: hidden;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        margin-right: 0.1rem;
        vertical-align: middle;
      }
      .name{
        width: 46%;
        display: inline-block;
        vertical-align: middle;
      }
      .amount{
        position: absolute;
        right: 0;
        top: 0.17rem;
        font-size: $small-font;
        color: $color-gray;
      }
      &:last-child{
        border: none;
        padding-bottom: 0;
        margin-bottom: 0;
      }
    }
  }
  .btn-box{
    background-color: #fff;
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 0.1rem;
    a{
      margin: 0;
    }
  }
}